package com.idp.app.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * APP用户DTO类
 * @author King
 */
@Data
@ApiModel(description = "APP用户DTO类")
public class AppUserDto implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("id")
	private String id;
	@ApiModelProperty("用户名")
	private String uname;
	@ApiModelProperty("密码")
	private String pwd;
	@ApiModelProperty("手机号")
	private String phone;
	@ApiModelProperty("昵称")
	private String nickname;
	@ApiModelProperty("头像")
	private String userPhoto;
	@ApiModelProperty("性别：0女，1男，2保密")
	private String sex;
	@ApiModelProperty("出生日期")
	private String birthday;
	@ApiModelProperty("个性签名")
	private String signature;
	@ApiModelProperty("状态：0正常，1注销，2禁用")
	private String status;
	@ApiModelProperty("注册方式：1微信小程序授权，2手机号注册，3APP微信授权")
	private String registerType;
	@ApiModelProperty("注册时间")
	private Date registerTime;
	@ApiModelProperty("微信小程序授权id")
	private String openidWechatApplet;
	@ApiModelProperty("微信授权id")
	private String openidWechatApp;
	@ApiModelProperty("登录设备信息")
	private String loginDevice;

	@ApiModelProperty("手机验证码")
	private String code;
}
